package com.itqf.bean;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

/**
 * projectName: logandquratz2103
 *
 * @author: 赵伟风
 * time: 2021/7/6 10:32
 * description:
 */
public class Car {

    Log log = LogFactory.getLog(Car.class);

    public void dianhuo(){

        log.trace("启动");
    }

    public void lashousha(){
        log.trace("拉手刹");
    }

    public void guadang(int dang)
    {
        log.debug("挡位："+dang);

        if (dang > 1)
        {
            log.warn("启动必须是1档，当前："+dang);
        }

        log.trace("挂挡");
    }

    public void fangshache(){
        log.trace("松刹车");
    }

    public void jiayoumen(){
        log.trace("加油门");
    }

}
